<?php

class Core_Model_Block extends Nuo_Db_Table_Row
{
	/**
	 * object type
	 * @property string
	 */
	protected $_objectType = 'core.block';

	/**
	 * identity
	 * @return int
	 */
	public function getId()
	{
		return $this -> block_id;
	}

	/**
	 * @return bool
	 */
	public function isEnabled()
	{
		return $this -> block_enabled;
	}

	/**
	 * @return int
	 */
	public function getPriority()
	{
		return $this -> block_priority;
	}

	/**
	 * get layout id
	 * @return int
	 */
	public function getLayoutId()
	{
		return $this -> layout_id;
	}

	/**
	 * title
	 * @return string
	 */
	public function getTitle()
	{
		return $this -> block_title;
	}

	/**
	 * get class name of element
	 * @return string
	 */
	public function getClass()
	{
		return $this -> block_class;
	}

	/**
	 * get module name of element
	 * @return string
	 */
	public function getModule()
	{
		return $this -> block_module;
	}
	
	/**
	 * get module name of element
	 * @return string
	 */
	public function getArea()
	{
		return $this -> block_area;
	}

}
